NevronOpenVision
Nevron.Nov.Diagram.Batches Namespace / NBatchTranslate<TItem> Class / Translate Method / Translate(Double,Double,Boolean) Method
x translate in scene coordinates
y translate in scene coordinates
indicates whether the move permissions of the nodes must be discarded
In This Topic
    Translate(Double,Double,Boolean) Method
    In This Topic
    Translates the entity with the specified x and y amount
    Syntax
    public NTransactionResult Translate( 
       System.double dx,
       System.double dy,
       System.bool discardMovePermissions
    )

    Parameters

    dx
    x translate in scene coordinates
    dy
    y translate in scene coordinates
    discardMovePermissions
    indicates whether the move permissions of the nodes must be discarded

    Return Value

    true if the nodes were successfully translated, otherwise false
    Remarks
    If the move permissions of a particular node do not allow x or y move the respective delta will be set to 0. In this case the transaction will be considered as incomplete.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also